home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / Galactic Attack.swf / scripts / __Packages / StdInc.as
Encoding:
Text File  |  2006-06-13  |  14.8 KB  |  422 lines

  1. class ┬º;7pIo┬º
  2. {
  3.    function ┬º;7pIo┬º()
  4.    {
  5.    }
  6.    static function ┬º}-B2┬º(┬º}J┬º)
  7.    {
  8.       with(eval("}J"))
  9.       {
  10.          function()
  11.          {
  12.             if(_global.string == undefined)
  13.             {
  14.                _global.string = function(┬º((┬º)
  15.                {
  16.                   return ┬º((┬º;
  17.                };
  18.             }
  19.             Array.prototype["0ENPA"] = function(┬º+KD┬º)
  20.             {
  21.                var _loc2_ = undefined;
  22.                var _loc3_ = this.length;
  23.                _loc2_ = 0;
  24.                while(_loc2_ < _loc3_)
  25.                {
  26.                   if(this[_loc2_] == ┬º+KD┬º)
  27.                   {
  28.                      this.splice(_loc2_,1);
  29.                      return true;
  30.                   }
  31.                   _loc2_ = _loc2_ + 1;
  32.                }
  33.                return false;
  34.             };
  35.             Array.prototype["4]GSJ("] = function(┬º2┬º, ┬º((┬º)
  36.             {
  37.                this.splice(┬º2┬º,0,┬º((┬º);
  38.             };
  39.             Array.prototype["],lYS"] = Array.prototype.slice;
  40.             Color.prototype["{L 35"] = function()
  41.             {
  42.                this.setTransform({ra:100,rb:0,ba:100,bb:0,ga:100,gb:0,aa:100,ab:0});
  43.             };
  44.             XMLNode.prototype["get"] = function(┬º((┬º)
  45.             {
  46.                return this.attributes[┬º((┬º];
  47.             };
  48.             XMLNode.prototype["set"] = function(┬º((┬º, ┬º)(┬º)
  49.             {
  50.                this.attributes[┬º((┬º] = ┬º)(┬º;
  51.             };
  52.             XMLNode.prototype[" Ff_G"] = function(┬º((┬º)
  53.             {
  54.                return this.attributes[┬º((┬º] != null;
  55.             };
  56.             XMLNode.prototype["}}{7B"] = function(┬º-┬º)
  57.             {
  58.                for(var _loc2_ in this.attributes)
  59.                {
  60.                   ┬º-┬º(_loc2_,this.attributes[_loc2_]);
  61.                }
  62.             };
  63.             XMLNode.prototype["2s=h5("] = function(┬º-┬º)
  64.             {
  65.                var _loc2_ = this.firstChild;
  66.                while(_loc2_ != null)
  67.                {
  68.                   ┬º-┬º(_loc2_);
  69.                   _loc2_ = _loc2_.nextSibling;
  70.                }
  71.             };
  72.             XML.prototype["get"] = function(┬º((┬º)
  73.             {
  74.                return this.attributes[┬º((┬º];
  75.             };
  76.             XML.prototype["set"] = function(┬º((┬º, ┬º)(┬º)
  77.             {
  78.                this.attributes[┬º((┬º] = ┬º)(┬º;
  79.             };
  80.             XML.prototype[" Ff_G"] = function(┬º((┬º)
  81.             {
  82.                return this.attributes[┬º((┬º] != null;
  83.             };
  84.             _global.ASSetPropFlags(Array.prototype,"0ENPA",1);
  85.             _global.ASSetPropFlags(Array.prototype,"4]GSJ(",1);
  86.             _global.ASSetPropFlags(Array.prototype,"],lYS",1);
  87.             _global.ASSetPropFlags(Color.prototype,"{L 35",1);
  88.             _global.ASSetPropFlags(XMLNode.prototype,"get",1);
  89.             _global.ASSetPropFlags(XMLNode.prototype,"set",1);
  90.             _global.ASSetPropFlags(XMLNode.prototype," Ff_G",1);
  91.             _global.ASSetPropFlags(XMLNode.prototype,"}}{7B",1);
  92.             _global.ASSetPropFlags(XMLNode.prototype,"2s=h5(",1);
  93.             _global.ASSetPropFlags(XML.prototype,"get",1);
  94.             _global.ASSetPropFlags(XML.prototype,"set",1);
  95.             _global.ASSetPropFlags(XML.prototype," Ff_G",1);
  96.             _global["1cEQH"] = _global.TextField["1cEQH"];
  97.             this["3Wt"] = new Object();
  98.             this["3Wt"]["{XfS6"] = 0;
  99.             this["3Wt"]["7bSH*"] = function(┬º}J┬º, ┬º5P55┬º, ┬º}p j)┬º)
  100.             {
  101.                var _loc2_ = ┬º5P55┬º + "@" + this["{XfS6"]++;
  102.                ┬º}J┬º.attachMovie(┬º5P55┬º,_loc2_,┬º}p j)┬º);
  103.                return ┬º}J┬º[_loc2_];
  104.             };
  105.             this["3Wt"]["-4*l(("] = function(┬º}J┬º, ┬º}p j)┬º)
  106.             {
  107.                var _loc2_ = "empty@" + this["{XfS6"]++;
  108.                ┬º}J┬º.createEmptyMovieClip(_loc2_,┬º}p j)┬º);
  109.                return ┬º}J┬º[_loc2_];
  110.             };
  111.             this["3Wt"]["5jHJK("] = function(┬º}J┬º, ┬º}p j)┬º)
  112.             {
  113.                var _loc2_ = "dup@" + this["{XfS6"]++;
  114.                ┬º}J┬º.duplicateMovieClip(_loc2_,┬º}p j)┬º);
  115.                return ┬º}J┬º._parent[_loc2_];
  116.             };
  117.             this["3Wt"]["6{X3L"] = function(┬º}J┬º, ┬º}┬º)
  118.             {
  119.                return ┬º}J┬º[┬º}┬º];
  120.             };
  121.             this["3Wt"]["4BHo7"] = function(┬º}J┬º, ┬º}┬º, ┬º,DLD┬º)
  122.             {
  123.                ┬º}J┬º[┬º}┬º] = ┬º,DLD┬º;
  124.             };
  125.             this["3Wt"]["9HH5a"] = function()
  126.             {
  127.                return _root;
  128.             };
  129.             this["3Wt"]["16(VU"] = function(┬º}┬º)
  130.             {
  131.                return _global[┬º}┬º];
  132.             };
  133.             this["3Wt"]["3Wr3K("] = function(┬º}┬º, ┬º;b┬º)
  134.             {
  135.                _global[┬º}┬º] = ┬º;b┬º;
  136.             };
  137.             this["3Wt"].createTextField = function(┬º}J┬º, ┬º}p j)┬º)
  138.             {
  139.                var _loc2_ = "text@" + this["{XfS6"]++;
  140.                ┬º}J┬º.createTextField(_loc2_,┬º}p j)┬º,0,0,100,20);
  141.                return ┬º}J┬º[_loc2_];
  142.             };
  143.             this["3Wt"]["2g(*"] = function(┬º((┬º)
  144.             {
  145.                return ┬º((┬º;
  146.             };
  147.             this["3Wt"].hitTest = function(┬º*QA┬º, ┬º+QA┬º)
  148.             {
  149.                return ┬º*QA┬º.hitTest(┬º+QA┬º);
  150.             };
  151.             this["3Wt"].random = function(┬º7┬º)
  152.             {
  153.                return random(┬º7┬º);
  154.             };
  155.             this["3Wt"][",))hC"] = function()
  156.             {
  157.                return _root._xmouse;
  158.             };
  159.             this["3Wt"]["8p1P5"] = function()
  160.             {
  161.                return _root._ymouse;
  162.             };
  163.             this["3Wt"].escape = _global.escape;
  164.             this["3Wt"].unescape = _global.unescape;
  165.             this["3Wt"].parseInt = _global.parseInt;
  166.             this["3Wt"].toString = function(┬º((┬º)
  167.             {
  168.                return String(┬º((┬º);
  169.             };
  170.             this["3Wt"]["}0=HF("] = function(┬º((┬º, ┬º7┬º)
  171.             {
  172.                return Number(┬º((┬º).toString(┬º7┬º);
  173.             };
  174.             this["3Wt"].isNaN = _global.isNaN;
  175.             this["3Wt"]["=Pn1n"] = Infinity;
  176.             this["3Wt"].registerClass = Object.registerClass;
  177.             this["3Wt"]["+QD*"] = function(┬º(┬º, ┬º)┬º)
  178.             {
  179.                for(var _loc3_ in ┬º)┬º)
  180.                {
  181.                   ┬º(┬º[_loc3_] = ┬º)┬º[_loc3_];
  182.                }
  183.                return ┬º(┬º;
  184.             };
  185.             this["3Wt"]["6{VYR"] = function(┬º8┬º, ┬º-┬º)
  186.             {
  187.                if(arguments.length == 2)
  188.                {
  189.                   return function()
  190.                   {
  191.                      return eval("8")[eval("-")].apply(eval("8"),arguments);
  192.                   };
  193.                }
  194.                var ┬º(┬º = arguments.slice(2);
  195.                return function()
  196.                {
  197.                   return eval("8")[eval("-")].apply(eval("8"),eval("(").concat(arguments));
  198.                };
  199.             };
  200.             this["3Wt"].getTimer = function()
  201.             {
  202.                return getTimer();
  203.             };
  204.             this["3Wt"][")goHJ("] = function(┬º8┬º)
  205.             {
  206.                return typeof ┬º8┬º;
  207.             };
  208.             this["3Wt"]["-jONz"] = function(┬º8┬º, ┬º4┬º)
  209.             {
  210.                return ┬º8┬º instanceof ┬º4┬º;
  211.             };
  212.             this["3Wt"]["9ss9+"] = function(┬º8┬º, ┬º-┬º)
  213.             {
  214.                var _loc1_ = undefined;
  215.                for(_loc1_ in ┬º8┬º)
  216.                {
  217.                   ┬º-┬º(_loc1_);
  218.                }
  219.             };
  220.             this["3Wt"]["]1dDm"] = function(┬º8┬º)
  221.             {
  222.                return new ┬º8┬º();
  223.             };
  224.             this["3Wt"]["7t4B ("] = function(┬º8┬º, ┬º4┬º)
  225.             {
  226.                delete ┬º8┬º[┬º4┬º];
  227.             };
  228.             this["]{i"] = new Object();
  229.             this["]{i"]["+rJ"] = this["3Wt"];
  230.             this["]{i"][";lvaa"] = false;
  231.             this["]{i"].clear = function()
  232.             {
  233.                this["{RuFi"].text = "";
  234.                this["]AO l"].text = "";
  235.                this["=(N7n"] = 0;
  236.             };
  237.             this["]{i"]["}-B2"] = function(┬º}J┬º, ┬º (┬º, ┬º1┬º)
  238.             {
  239.                if(┬º}J┬º == undefined)
  240.                {
  241.                   ┬º}J┬º = _root;
  242.                }
  243.                if(┬º (┬º == undefined)
  244.                {
  245.                   ┬º (┬º = Stage.width;
  246.                }
  247.                if(┬º1┬º == undefined)
  248.                {
  249.                   ┬º1┬º = Stage.height;
  250.                }
  251.                this[";lvaa"] = true;
  252.                this["]AO l"] = this["+rJ"].createTextField(┬º}J┬º,99999);
  253.                this["{RuFi"] = this["+rJ"].createTextField(┬º}J┬º,99998);
  254.                this["]AO l"]._x = 5;
  255.                this["]AO l"]._y = 20;
  256.                this["]AO l"]._width = ┬º (┬º - 10;
  257.                this["]AO l"]._height = ┬º1┬º - 30;
  258.                this["{RuFi"]._x = ┬º (┬º / 2;
  259.                this["{RuFi"]._y = 20;
  260.                this["{RuFi"]._width = ┬º (┬º / 2;
  261.                this["{RuFi"]._height = ┬º1┬º - 30;
  262.                this["]AO l"].wordWrap = true;
  263.                this["{RuFi"].wordWrap = true;
  264.                this["]AO l"].selectable = false;
  265.                this["{RuFi"].selectable = false;
  266.                this["=(N7n"] = 0;
  267.                this["4s3F{"] = int((┬º1┬º - 30) / 15);
  268.                var ┬º(K┬º = this;
  269.                this["](L"] = setInterval(function()
  270.                {
  271.                   if(eval("(K")["{RuFi"].text != "")
  272.                   {
  273.                      eval("(K")["{RuFi"].text = "";
  274.                   }
  275.                }
  276.                ,10);
  277.             };
  278.             this["]{i"]["+9L}b"] = function(┬º[┬º)
  279.             {
  280.                if(!this[";lvaa"])
  281.                {
  282.                   this["}-B2"]();
  283.                }
  284.                this["]AO l"].text += ┬º[┬º.split("\n").join("\\n").split("\r").join("\\r") + "\n";
  285.                this["=(N7n"] = this["=(N7n"] + 1;
  286.                if(this["=(N7n"] >= this["4s3F{"])
  287.                {
  288.                   var _loc2_ = this["]AO l"].text.indexOf("\r",0);
  289.                   var _loc3_ = this["]AO l"].text.substr(_loc2_ + 1);
  290.                   this["]AO l"].text = _loc3_;
  291.                   this["=(N7n"] = this["=(N7n"] - 1;
  292.                }
  293.             };
  294.             this["]{i"]["(H5 S"] = function(┬º*┬º)
  295.             {
  296.                if(!this[";lvaa"])
  297.                {
  298.                   this["}-B2"]();
  299.                }
  300.                this["]AO l"].textColor = ┬º*┬º;
  301.                this["{RuFi"].textColor = ┬º*┬º;
  302.             };
  303.             this["]{i"].print = function(┬º((┬º)
  304.             {
  305.                if(!this[";lvaa"])
  306.                {
  307.                   this["}-B2"]();
  308.                }
  309.                this["{RuFi"].text += "~ " + this.toString(┬º((┬º,"") + "\n";
  310.             };
  311.             this["]{i"][",}2X ("] = function()
  312.             {
  313.                clearInterval(this["](L"]);
  314.                this[";lvaa"] = false;
  315.                this["]AO l"].removeMovieClip();
  316.                this["{RuFi"].removeMovieClip();
  317.             };
  318.             this["]{i"].toString = function(┬º8┬º, ┬º[┬º)
  319.             {
  320.                if(┬º[┬º == null)
  321.                {
  322.                   ┬º[┬º = "";
  323.                }
  324.                else if(┬º[┬º.length >= 20)
  325.                {
  326.                   return "<...>";
  327.                }
  328.                switch(typeof ┬º8┬º)
  329.                {
  330.                   case "object":
  331.                   case "movieclip":
  332.                      if(┬º8┬º instanceof Array)
  333.                      {
  334.                         var _loc7_ = ┬º8┬º.length;
  335.                         var _loc2_ = undefined;
  336.                         var _loc6_ = "[";
  337.                         ┬º[┬º += "    ";
  338.                         _loc2_ = 0;
  339.                         while(_loc2_ < _loc7_)
  340.                         {
  341.                            _loc6_ += (_loc2_ <= 0 ? "" : ",") + this.toString(┬º8┬º[_loc2_],┬º[┬º);
  342.                            _loc2_ = _loc2_ + 1;
  343.                         }
  344.                         ┬º[┬º = ┬º[┬º.substring(4);
  345.                         _loc6_ += "]";
  346.                         return _loc6_;
  347.                      }
  348.                      var _loc8_ = ┬º8┬º.toString();
  349.                      if(typeof _loc8_ == "string" && _loc8_ != "[object Object]")
  350.                      {
  351.                         return _loc8_;
  352.                      }
  353.                      var _loc5_ = undefined;
  354.                      _loc6_ = "{\n";
  355.                      if(typeof ┬º8┬º == "movieclip")
  356.                      {
  357.                         _loc6_ = "MC(" + ┬º8┬º._name + ") " + _loc6_;
  358.                      }
  359.                      ┬º[┬º += "    ";
  360.                      for(_loc5_ in ┬º8┬º)
  361.                      {
  362.                         _loc6_ += ┬º[┬º + _loc5_ + " : " + this.toString(┬º8┬º[_loc5_],┬º[┬º) + "\n";
  363.                      }
  364.                      ┬º[┬º = ┬º[┬º.substring(4);
  365.                      _loc6_ += ┬º[┬º + "}";
  366.                      return _loc6_;
  367.                      break;
  368.                   case "function":
  369.                      return "<fun>";
  370.                   case "string":
  371.                      return ┬º8┬º;
  372.                   default:
  373.                      return String(┬º8┬º);
  374.                }
  375.             };
  376.             this["]{i"].trace = function(┬º8┬º)
  377.             {
  378.                var _loc3_ = this.toString(┬º8┬º,"").split("\n");
  379.                var _loc2_ = undefined;
  380.                var _loc4_ = _loc3_.length;
  381.                _loc2_ = 0;
  382.                while(_loc2_ < _loc4_)
  383.                {
  384.                   this["+9L}b"](_loc3_[_loc2_]);
  385.                   _loc2_ = _loc2_ + 1;
  386.                }
  387.             };
  388.             this["19{O"] = function()
  389.             {
  390.             };
  391.             this["19{O"].prototype["get"] = function(┬º4┬º)
  392.             {
  393.                return this[┬º4┬º];
  394.             };
  395.             this["19{O"].prototype["set"] = function(┬º4┬º, ┬º2┬º)
  396.             {
  397.                this[┬º4┬º] = ┬º2┬º;
  398.             };
  399.             this["19{O"].prototype["0ENPA"] = function(┬º4┬º)
  400.             {
  401.                var _loc2_ = this[┬º4┬º] != undefined;
  402.                delete this[┬º4┬º];
  403.                return _loc2_;
  404.             };
  405.             this["19{O"].prototype[" Ff_G"] = function(┬º4┬º)
  406.             {
  407.                return this[┬º4┬º] != undefined;
  408.             };
  409.             this["19{O"].prototype["5uJ2"] = function(┬º-┬º)
  410.             {
  411.                var _loc2_ = undefined;
  412.                for(_loc2_ in this)
  413.                {
  414.                   ┬º-┬º(_loc2_,this[_loc2_]);
  415.                }
  416.             };
  417.             _global.ASSetPropFlags(this["19{O"].prototype,null,1);
  418.          }.call(eval("}J"));
  419.       }
  420.    }
  421. }
  422.